//
//  WGBShareSDKTool.h
//  RongNiuOnline
//
//  Created by 王贵彬 on 2018/5/1.
//  Copyright © 2018年 rongniu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ShareSDK/ShareSDK.h>

@interface WGBShareSDKTool : NSObject

+ (WGBShareSDKTool *)shareInstance;
- (void)showShareActionSheet ; //显示分享面板
// 根据平台类型添加分享事件
- (void)addShareWithPlatform:(SSDKPlatformType)platformType;

@property (nonatomic,copy) NSString *title; //标题
@property (nonatomic,strong) id   img;//不确定类型UIImage或者NSURL 或者相对路径
@property (nonatomic,copy) NSString *desc;//描述
@property (nonatomic,copy) NSString *link; //链接

@property (nonatomic,copy) dispatch_block_t  qrCodeBlock; //二维码
@property (nonatomic,copy) dispatch_block_t  referralCodeBlock;//推荐码

@end
